package com.qfedu.meidijiaju.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author meidimeiju
 * @since 2022-10-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class AuthorYxy implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 作者id
     */
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "作者id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 是否vip
     */
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "是否vip")
    private Boolean vip;

    /**
     * 名字
     */
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "名字")
    private String name;

    /**
     * 头像
     */
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "头像")
    private String avatar;


}
